package com.catsic.practice.mapper;

import com.catsic.practice.entity.ApprovalRecordEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ApprovalRecordRepository extends JpaRepository<ApprovalRecordEntity, Long> {

    List<ApprovalRecordEntity> findByProcessInstanceId(String processInstanceId);

    List<ApprovalRecordEntity> findByApprover(String approver);
}
